<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实时状态组件测试</title>
    <style>
        body {
            margin: 0;
            padding: 20px;
            background: #1a1a1a;
            color: white;
            font-family: Arial, sans-serif;
        }
        
        .test-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .test-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 8px;
        }
        
        .test-title {
            margin-bottom: 10px;
            color: #6FBDFF;
        }
        
        /* 模拟组件样式 */
        .realtime-status {
            box-sizing: border-box;
            font-family: 'SourceHanSansSC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            display: flex;
            align-items: center;
            padding: 0 12px;
        }
        
        .realtime-status__label-container {
            flex-shrink: 0;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
        }
        
        .realtime-status__label {
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .realtime-status__progress-container {
            flex: 1;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
        }
        
        .realtime-status__progress-bar {
            box-sizing: border-box;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .realtime-status__indicator {
            box-sizing: border-box;
            pointer-events: none;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
    </style>
</head>
<body>
    <div class="test-container">
        <h1>实时状态组件测试</h1>
        
        <div class="test-item">
            <div class="test-title">默认样式 (45%)</div>
            <div class="realtime-status" style="width: 400px; height: 64px; background: rgba(29,37,45,0.9); border-radius: 8px;">
                <!-- 实时标签容器 -->
                <div class="realtime-status__label-container" style="width: 58px; height: 30px; background: #0B1E2F; border: 1px solid #66B9FF; border-radius: 5px; box-shadow: inset 0px 0px 11px 0px #008BFF;">
                    <span class="realtime-status__label" style="font-family: SourceHanSansSC; font-weight: 500; font-size: 16px; color: #6FBDFF; line-height: 16px; text-align: left; letter-spacing: 0px; user-select: none;">
                        实时
                    </span>
                </div>
                
                <!-- 进度条容器 -->
                <div class="realtime-status__progress-container" style="width: 301px; height: 12px; background: #3E4455; border-radius: 9px;">
                    <!-- 进度条 -->
                    <div class="realtime-status__progress-bar" style="width: 135.45px; height: 100%; background: linear-gradient(90deg, #00FFF1 0%, #008BFF 100%); border-radius: 9px;"></div>
                    
                    <!-- 指示器 -->
                    <div class="realtime-status__indicator" style="width: 16px; height: 16px; background: linear-gradient(180deg, #00FFF1 0%, #008BFF 100%); border: 1px solid #FFFFFF; border-radius: 50%; left: 127.45px;"></div>
                </div>
            </div>
        </div>
        
        <div class="test-item">
            <div class="test-title">高进度 (80%)</div>
            <div class="realtime-status" style="width: 400px; height: 64px; background: rgba(29,37,45,0.9); border-radius: 8px;">
                <!-- 实时标签容器 -->
                <div class="realtime-status__label-container" style="width: 58px; height: 30px; background: #0B1E2F; border: 1px solid #66B9FF; border-radius: 5px; box-shadow: inset 0px 0px 11px 0px #008BFF;">
                    <span class="realtime-status__label" style="font-family: SourceHanSansSC; font-weight: 500; font-size: 16px; color: #6FBDFF; line-height: 16px; text-align: left; letter-spacing: 0px; user-select: none;">
                        实时
                    </span>
                </div>
                
                <!-- 进度条容器 -->
                <div class="realtime-status__progress-container" style="width: 301px; height: 12px; background: #3E4455; border-radius: 9px;">
                    <!-- 进度条 -->
                    <div class="realtime-status__progress-bar" style="width: 240.8px; height: 100%; background: linear-gradient(90deg, #00FFF1 0%, #008BFF 100%); border-radius: 9px;"></div>
                    
                    <!-- 指示器 -->
                    <div class="realtime-status__indicator" style="width: 16px; height: 16px; background: linear-gradient(180deg, #00FFF1 0%, #008BFF 100%); border: 1px solid #FFFFFF; border-radius: 50%; left: 232.8px;"></div>
                </div>
            </div>
        </div>
        
        <div class="test-item">
            <div class="test-title">低进度 (20%)</div>
            <div class="realtime-status" style="width: 400px; height: 64px; background: rgba(29,37,45,0.9); border-radius: 8px;">
                <!-- 实时标签容器 -->
                <div class="realtime-status__label-container" style="width: 58px; height: 30px; background: #0B1E2F; border: 1px solid #66B9FF; border-radius: 5px; box-shadow: inset 0px 0px 11px 0px #008BFF;">
                    <span class="realtime-status__label" style="font-family: SourceHanSansSC; font-weight: 500; font-size: 16px; color: #6FBDFF; line-height: 16px; text-align: left; letter-spacing: 0px; user-select: none;">
                        实时
                    </span>
                </div>
                
                <!-- 进度条容器 -->
                <div class="realtime-status__progress-container" style="width: 301px; height: 12px; background: #3E4455; border-radius: 9px;">
                    <!-- 进度条 -->
                    <div class="realtime-status__progress-bar" style="width: 60.2px; height: 100%; background: linear-gradient(90deg, #00FFF1 0%, #008BFF 100%); border-radius: 9px;"></div>
                    
                    <!-- 指示器 -->
                    <div class="realtime-status__indicator" style="width: 16px; height: 16px; background: linear-gradient(180deg, #00FFF1 0%, #008BFF 100%); border: 1px solid #FFFFFF; border-radius: 50%; left: 52.2px;"></div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 